
var div1 = document.querySelector('.div1');
var img = document.querySelector('.img');
var i = 1;
setInterval(function () {
    if (i < 6) {
        img.src = '../image/SecondHandList/img' + i + '.png';
    }
    else {
        i = 1;
        img.src = '../image/SecondHandList/img' + i + '.png';
    }
    i++;
}, 1000);


